<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <!-- Tell the browser to be responsive to screen width -->
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
    <!-- daterange picker -->
    <link rel="stylesheet" href="../../plugins/daterangepicker/daterangepicker.css">
    <!-- bootstrap datepicker -->
    <link rel="stylesheet" href="../../plugins/datepicker/datepicker3.css">
    <!-- iCheck for checkboxes and radio inputs -->
    <link rel="stylesheet" href="../../plugins/iCheck/all.css">
    <!-- Bootstrap datatime Picker -->
    <link rel="stylesheet" href="../../plugins/datatimepicker/bootstrap-datetimepicker.css">
    <!-- Select2 -->
    <link rel="stylesheet" href="../../plugins/select2/select2.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect.
    -->
    <link rel="stylesheet" href="../../dist/css/skins/skin-blue.min.css">
    <link rel="stylesheet" href="../../css/style.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body class="skin-blue sidebar-mini" style="height: auto;">
    <div class="wrapper" style="height: auto;">
        <!-- 顶部导航栏 -->
        <header class="main-header">
            <!-- Logo -->
            <a href="../../index.html" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <span class="logo-mini"><b>智途</b></span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg"><b>智途</b>科技</span>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">切换导航</span>
                </a>
                <!-- Navbar Right Menu -->
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">
                        <!-- Messages: style can be found in dropdown.less-->
                        <li class="messages-menu">
                            <a href="../project/my-approval.html" class="dropdown-toggle">
                                我要审批
                                <i class="fa fa-envelope-o"></i>
                                <span class="label label-success">4</span>
                            </a>
                        </li>
                        <!-- User Account: style can be found in dropdown.less -->
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                                <span class="hidden-xs">智途</span>
                            </a>
                            <ul class="dropdown-menu">
                                <!-- User image -->
                                <li class="user-header">
                                    <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                                    <p>智途</p>
                                    <small>一枚快乐的搬砖小能手</small>
                                </li>
                                <!-- Menu Body -->
                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="../../modify-password.html" class="btn btn-default btn-flat">修改</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="#" class="btn btn-default btn-flat">退出</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <li>
                            <a href="#" data-toggle="control-sidebar">信息公告
                                    <i class="fa fa-bell-o"></i>
                                    <span class="label label-warning"><font><font>10</font></font></span>
                                </a>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <!-- 左侧菜单栏 -->
        <aside class="main-sidebar">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                    </div>
                    <div class="pull-left info">
                        <p>智途</p>
                        <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
                    </div>
                </div>
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <li class="header">ERP管理系统</li>
                    <li class="treeview ">
                        <a href="#">
                            <i class="fa fa-dashboard"></i>
                            <span>项目管理</span>
                            <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="../project/my-project.html"><i class="fa fa-circle-o"></i> 我的项目</a></li>
                            <li><a href="../project/my-approval.html"><i class="fa fa-circle-o"></i> 我的审批</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-files-o"></i>
                            <span>费用报销</span>
                            <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="../funds/my-reimburse.html"><i class="fa fa-circle-o"></i>我的报销</a></li>
                            <li><a href="../funds/my-borrow-money.html"><i class="fa fa-circle-o"></i> 我的借款</a></li>
                        </ul>
                    </li>
                    <li class="treeview active">
                        <a href="#">
                            <i class="fa fa-th"></i>
                            <span>工时填报</span>
                            <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                        </a>
                        <ul class="treeview-menu">
                            <li class="active"><a href="#"><i class="fa fa-circle-o"></i>我的工时</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-bar-chart"></i>
                            <span>统计分析</span>
                            <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="../statistics/statistics.html"><i class="fa fa-circle-o"></i> 统计报表</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-pie-chart"></i>
                            <span>合同管理</span>
                            <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="../contract/contract.html"><i class="fa fa-circle-o"></i> 我的合同</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-laptop"></i>
                            <span>系统管理</span>
                            <span class="pull-right-container">
                                    <i class="fa fa-angle-left pull-right"></i>
                                </span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="../system/organization.html"><i class="fa fa-circle-o"></i> 组织机构</a></li>
                            <li><a href="../system/post-role.html"><i class="fa fa-circle-o"></i> 岗位角色</a></li>
                            <li><a href="../system/user-control.html"><i class="fa fa-circle-o"></i> 用户管理</a></li>
                            <li><a href="../system/authority-management.html"><i class="fa fa-circle-o"></i> 权限管理</a></li>
                        </ul>
                    </li>
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>
        <!-- 中间内容 -->
        <div class="content-wrapper">
            <section class="content-header">
                <span class="head_text">创建工时记录卡</span>
            </section>
            <section class="content">
                <form action="" id="msform">
                    <!--分布-->
                    <ul id="progressbar" class="pro" style="padding-left:33%;">
                        <li class="active">填写工时明细</li>
                        <li>核实并提交</li>
                    </ul>
                    <fieldset>
                        <span>备注：工时的填报时间最晚不能延后1天填写，否则视为旷工；起始/终止时间需具体到时间节点：分、秒;工时记录以半小时为单位;加班工时需新建一行。</span>
                        <table class="table table-striped fold table-responsive" id="table_write">
                            <col width="16%">
                            <col width="14%">
                            <col width="17%">
                            <col width="17%">
                            <col width="9%">
                            <col width="9%">
                            <col width="9%">
                            <col width="9%">
                            <thead>
                                <tr class="info">
                                    <th>项目名
                                        <font style="color:red">*</font>
                                    </th>
                                    <th>工作性质
                                        <font style="color:red">*</font>
                                    </th>
                                    <th>起始时间
                                        <font style="color:red">*</font>
                                    </th>
                                    <th>终止时间
                                        <font style="color:red">*</font>
                                    </th>
                                    <th>工时/时</th>
                                    <th>计件数</th>
                                    <th>计件单位</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td style="text-align:center;"><input type="text" class="form-control tck"> </select>
                                    </td>
                                    <td><select id="select4" class="form-control">
                                        <option disabled="disabled" selected="selected">工作内容相关的关键字</option>
                                        <option value="内勤">内勤</option>
                                        <option value="外勤">外勤</option>
                                        <option value="管理">管理</option>
                                        </select>
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <div class="input-group-addon">
                                                    <i class="fa fa-clock-o"></i>
                                                </div>
                                                <input type="text" class="form-control pull-rightm reservationtime">
                                            </div>
                                        </div>
                                    </td>
                                    <td>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <div class="input-group-addon">
                                                    <i class="fa fa-clock-o"></i>
                                                </div>
                                                <input type="text" class="form-control pull-right reservationtime">
                                            </div>
                                        </div>
                                    </td>
                                    <td>2</td>
                                    <td><input type="text" class="form-control"></td>
                                    <td>
                                        <select class="form-control" id="select3" required=""> 
                                            <option></option>
                                        </select>
                                    </td>
                                    <td>
                                        <a class="clearUp" href=''>清空</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="batch_operation">
                            <div class="row">
                                <div class="col-md-12">
                                    <a class="add_one">添加一行</a>
                                </div>
                            </div>
                        </div>
                        <button class="btn btn-info next">下一步</button>
                    </fieldset>
                    <fieldset>
                        <section class="content">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table table-striped table-responsive">
                                        <col width="1%">
                                        <col width="16.5%">
                                        <col width="16.5%">
                                        <col width="16.5%">
                                        <col width="16.5%">
                                        <col width="16.5%">
                                        <col width="16.5%">
                                        <thead>
                                            <tr class="info">
                                                <th>&nbsp;</th>
                                                <th>项目名</th>
                                                <th>工作性质</th>
                                                <th>起始时间</th>
                                                <th>终止时间</th>
                                                <th>工时/时</th>
                                                <th>计件数</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td colspan="7" style="border:0">
                                                    <table class="fold">
                                                        <col width="1%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <tr class="mian">
                                                            <td>
                                                                <div class="pull-left">
                                                                    <button type="button" class="btn btn-box-tool" data-toggle="collapse" data-target="#demo1">
                                                                        <i class="fa fa-minus-square fa-fw" aria-hidden="true"></i>
                                                                    </button>
                                                                </div>
                                                            </td>
                                                            <td><a href="" class="project_title">公司网站改版</a></td>
                                                            <td></td>
                                                            <td>2017/05/05&nbsp;09:00</td>
                                                            <td>2017/05/05&nbsp;16:00</td>
                                                            <td>5</td>
                                                            <td>8平方米</td>
                                                        </tr>
                                                        <tr id="demo1" class="collapse in">
                                                            <td colspan="7" style="padding: 0;border:0">
                                                                <table class="fold">
                                                                    <col width="1%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <tr>
                                                                        <td>&nbsp;</td>
                                                                        <td>&nbsp;</td>
                                                                        <td>内勤</td>
                                                                        <td>2017/05/05&nbsp;09:00</td>
                                                                        <td>2017/05/05&nbsp;16:00</td>
                                                                        <td>4</td>
                                                                        <td>4平方米</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>&nbsp;</td>
                                                                        <td>&nbsp;</td>
                                                                        <td>外勤</td>
                                                                        <td>2017/05/05&nbsp;09:00</td>
                                                                        <td>2017/05/05&nbsp;16:00</td>
                                                                        <td>1</td>
                                                                        <td>4平方米</td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="7" style="border:0">
                                                    <table class="fold">
                                                        <col width="1%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <col width="16.5%">
                                                        <tr class="mian">
                                                            <td>
                                                                <div class="pull-left">
                                                                    <button type="button" class="btn btn-box-tool" data-toggle="collapse" data-target="#demo1">
                                                                        <i class="fa fa-minus-square fa-fw" aria-hidden="true"></i>
                                                                    </button>
                                                                </div>
                                                            </td>
                                                            <td><a href="" class="project_title">ERP管理后台</a></td>
                                                            <td></td>
                                                            <td>2017/05/05&nbsp;09:00</td>
                                                            <td>2017/05/05&nbsp;16:00</td>
                                                            <td>1</td>
                                                            <td>4平方米</td>
                                                        </tr>
                                                        <tr id="demo2" class="collapse in">
                                                            <td colspan="7" style="padding: 0;border:0">
                                                                <table class="fold">
                                                                    <col width="1%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <col width="16.5%">
                                                                    <tr>
                                                                        <td>&nbsp;</td>
                                                                        <td>&nbsp;</td>
                                                                        <td>策划</td>
                                                                        <td>2017/05/05&nbsp;09:00</td>
                                                                        <td>2017/05/05&nbsp;16:00</td>
                                                                        <td>1</td>
                                                                        <td>4平方米</td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </section>
                        <section>
                            <div class="form-group"><label for="inputText1" class=" col-md-1 col-xs-2 control-label"><font><font>备注说明</font></font>:</label>
                                <div class="col-md-11 col-xs-10"><input style="width:600px;height:150px;" type="text" class="form-control" id="inputText1" placeholder="非必填项" required> </div>
                            </div>
                        </section>
                        <button class="btn btn-info previous">上一步</button>
                        <button class="btn btn-info next">提交</button>
                    </fieldset>
                </form>
            </section>
        </div>
        <!-- 底部标注 -->
        <footer class="main-footer">
            <div class="pull-right hidden-xs">
                <b><font><font>版本</font></font></b>
                <font>
                    <font> 1.0.0
                    </font>
                </font>
            </div>
            <strong><font><font>版权所有©2017 </font></font><a href=""><font><font>江苏智途科技</font></font></a><font><font>。</font></font></strong>
            <font>
                <font>版权所有。
                </font>
            </font>
        </footer>
        <aside class="control-sidebar control-sidebar-dark">
            <!-- Tab panes -->
            <div class="tab-content">
                <!-- Settings tab content -->
                <div class="tab-pane active">
                    <form method="post">
                        <div style="overflow: hidden;margin: 20px 0;">
                            <span class="control-sidebar-heading">信息公告</span>
                            <button class="btn btn-default btn-xs pull-right">已读</button>
                        </div>
                        <div class="form-group">
                            <label class="control-sidebar-subheading">
                                    研发部开发xxxx
                                    <input type="checkbox" class="pull-right" checked="">
                                </label>
                            <p>
                                昨日下午，研发部门完成xxxxx项目
                            </p>
                        </div>
                        <!-- /.form-group -->
                    </form>
                </div>
                <!-- /.tab-pane -->
            </div>
        </aside>
        <div class="control-sidebar-bg" style="position: fixed; height: auto;"></div>
    </div>
</body>
<!-- jQuery 2.2.3 -->
<script src="../../plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="../../bootstrap/js/bootstrap.min.js"></script>
<!-- InputMask -->
<script src="../../plugins/input-mask/jquery.inputmask.js"></script>
<script src="../../plugins/input-mask/jquery.inputmask.date.extensions.js"></script>
<script src="../../plugins/input-mask/jquery.inputmask.extensions.js"></script>
<!--bootstrap datatimepicker-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="../../plugins/datatimepicker/bootstrap-datetimepicker.js"></script>
<script src="../../plugins/datatimepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<!-- bootstrap datepicker -->
<script src="../../plugins/datepicker/bootstrap-datepicker.js"></script>
<script src="../../plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<!-- FastClick -->
<script src="../../plugins/fastclick/fastclick.js"></script>
<!-- SlimScroll 1.3.0 -->
<script src="../../plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- iCheck 1.0.1 -->
<script src="../../plugins/iCheck/icheck.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<!-- AdminLTE App -->
<script src="../../dist/js/app.min.js"></script>
<script src="../../dist/js/demo.js"></script>
<script src="../../js/jquery.easing.1.3.js"></script>
<script src="../../js/zzsc.js"></script>
<script src="../../js/popup.js"></script>
<script>
    $(function() {
        $(".btn-box-tool").on('click', function(e) {
            /*切换折叠指示图标*/
            $(this).find("i").toggleClass("fa-minus-square");
            $(this).find("i").toggleClass("fa-plus-square");
        });
        /*筛选*/
        $('.content .dropdown-toggle').on('click', function(e) {
            e.preventDefault();
            $(this).find('i').toggleClass('fa-caret-down');
            $(this).find('i').toggleClass('fa-caret-up');
            if ($('.category-eject').hasClass('category-w-roll')) {
                $('.category-eject').removeClass('category-w-roll');
            } else {
                $('.category-eject').addClass('category-w-roll');
            };
        });
        //iCheck for checkbox and radio inputs
        $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
            checkboxClass: 'icheckbox_minimal-blue',
            radioClass: 'iradio_minimal-blue'
        });
        //Date range picker with time picker
        $('.reservationtime').datetimepicker({
            language: 'zh-CN',
            weekStart: 1,
            todayBtn: 1,
            autoclose: 1,
            todayHighlight: 1,
            startView: 2,
            forceParse: 0,
            showMeridian: 1,
            format: "yyyy-MM-dd - p HH:ii"
        });
        $('.add_one').click(function(e) {
            e.preventDefault();
            var tr = [];
            tr.push("<tr>");
            tr.push("<td style='text-align:center;'><input type='text' class='form-control tck'></td>");
            tr.push('<td><select id="select4" class="form-control"><option disabled="disabled" selected="selected">工作内容相关的关键字</option><option value="内勤">内勤</option><option value="外勤">外勤</option><option value="管理">管理</option></select></td>');
            tr.push('<td><div class="form-group"><div class="input-group"><div class="input-group-addon"><i class="fa fa-clock-o"></i></div><input type="text" class="form-control pull-right reservationtime"}></div></div></td>');
            tr.push('<td><div class="form-group"><div class="input-group"><div class="input-group-addon"><i class="fa fa-clock-o"></i></div><input type="text" class="form-control pull-right reservationtime"></div></div></td>');
            tr.push('<td>2</td>');
            tr.push('<td><input type="text" class="form-control"></td>');
            tr.push('<td><select class="form-control" id="select3" required=""> <option></option></select></td>');
            tr.push('<td><a class="" href="">清空</a></td></tr>');
            tr.push('<script> $(".reservationtime").datetimepicker({language: "zh-CN",weekStart: 1, todayBtn: 1,autoclose: 1,todayHighlight: 1,startView: 2,forceParse: 0,showMeridian: 1,format: "yyyy-MM-dd - p HH:ii"});<\/script>');
            $('#table_write>tbody').append(tr.join(''));
        });
        /***清空**/
        $('.clearUp').on('click', function(e) {
            e.preventDefault();
            $(this).parent('td').prevAll('td').find('input').val('');
        });
    });
</script>

</html>